package com.macro.mall.dao;

import com.macro.mall.dto.OmsOrderQueryParam;
import com.macro.mall.dto.OmsOrderReturnApplyResult;
import com.macro.mall.dto.OmsReturnApplyQueryParam;
import com.macro.model.OmsOrderReturnApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface OmsOrderReturnApplyDao {

    /**
     *  查询申请列表
     */
    List<OmsOrderReturnApply> getList(@Param("queryParam") OmsReturnApplyQueryParam queryParam);


    /**
     *  获取申请详情
     */
    OmsOrderReturnApplyResult getDetail(@Param("id") Long id);

}
